Card Processing DSL Чуваки а скажи есть какой DSL, типа COBOL на котором можно записывать карточные банковские продукты для процессинговых систем, типа такого: program [ name ] grace-period [ days | formula ] late-fee [ days | formula ] turn-off [ limit [ days | formula ] ] [ message ] cash-back [ beneficiary | type | invoice ] rate [ formula ] fee [ transaction | month | annual ] bonus [ formula ] Вот например как я вижу описание продукта card M-PLA-CB UAH limit unknown grace-period first 100 days then 60 days penalty daily 100 month add-rate 5% currency convert 1% rate month 4.9% of credit fee month 12 once on initial-payment month 3% of debt limit min 50 max debt month 1.2% of debt month 24 status disabled 10 transaction cashin 0 cashout pos ATMOSPHERA 0 cashout contry UA 5 + 1.5% _ 30 + 1% wire target local 0 wire 0.5% of amount limit min 5 max 500 accounts fee M-100001 rate M-100002 penalty M-100003 Накидал за ночь: https://github.com/5HT/cards